package com.zihan.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zihan.domain.dto.AchievementDTO;
import com.zihan.domain.entity.Achievement;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zihan.domain.vo.AchievementVO;

import java.util.List;

/**
 * <p>
 * 成果表 Mapper 接口
 * </p>
 *
 * @author zhangzihan
 * @since 2025-10-17
 */
public interface AchievementMapper extends BaseMapper<Achievement> {

    List<AchievementVO> getMyList(AchievementDTO achievement, Page<Achievement> page);

    List<AchievementVO> getTeacherList(AchievementDTO achievement, Page<Achievement> page);

    List<AchievementVO> getAdminList(AchievementDTO achievement, Page<Achievement> page);
}
